<template>
	<div class="tmp">
		
		<mt-swipe >
		  <mt-swipe-item name="111" v-for="(item,index) in sonlist"  :key="index">
		  	<router-link :to="item.url"><img :src="item.img"/></router-link>
		  </mt-swipe-item>
		</mt-swipe>
		
	</div>
</template>



<script>
	export default {

	  data () {
	    return {
	    }
	 },
	  props:['sonlist']  //这个数据是从父组件传入进来的
	}
		
	
	
	
</script>


<style scoped>
	img{
 	display: block;
 	width: 100%;
 	height: 220px;
 }
a{
	display: block;
}
.mint-swipe{
	height: 220px;
}	
</style>